Robotics 1.0 Lesson Plan
Lesson 15: Plant Detective
1 - (Time: 1 hour and 30 minutes; maximum of 4 children per group).
Laptop or desktop with Mu Editor installed.
CircuitPython installed on the CPX board.
Circuit Playground Express (CPX) board with USB cable.
Crickit
Photoresistor sensor.
Moisture sensor.
Jumper wires.
Students should know how to connect Crickit with the CPX and connect external sensors to Crickit.
Connect a moisture sensor and a light sensor to the Crickit board and read its values.
View the Connection part of the moisture sensor and photoresistor sensor with the CPX here.
Read the value of moisture sensor and light sensor using the instructions in this document
Implement this pseudocode to read the environmental conditions for plant growth
How do you think a photoresistor or a moisture sensor converts changes in light or soil moisture into electrical signals that a controller like the CPX can understand?